﻿using Abp.Application.Services.Dto;
using Hicap.QRCodeWarehouse.Core.Models.Other;
using System;

namespace Hicap.QRCodeWarehouse.Application.Dto
{
    public class FileRepositoryListDto : IEntityDto
    {
        public int Id { get; set; }

        public string FileName { get; set; }

        public string Path { get; set; }

        public int RecordsCount { get; set; }

        public long Size { get; set; }

        public DateTime CreationTime { get; set; }

        public DateTime? LastDownloadDateTime { get; set; }

        public int DownloadTimes { get; set; }

        public long? UserId { get; set; }

        public FileSourceTypeEnum FileSourceType { get; set; }

        public FileTypeEnum FileType { get; set; }

        public string AllowDownloadUsers { get; set; }

        public int GenerationRuleType { get; set; }

        public bool IsDeleted { get; set; }

        public int ProductId { get; set; }

        public ProductListDto Product { get; set; }
    }
}